package com.spa.infrastructure.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.spa.domain.entity.MsgAlarmLog;
import com.spa.infrastructure.repository.po.MsgAlarmLogPO;
import org.mapstruct.Mapper;
import org.mapstruct.MapperConfig;
import org.mapstruct.ReportingPolicy;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * (MsgAlarmLog) 映射结构类
 *
 * @author makejava
 * @since 2024-01-11 11:27:59
 */
@Mapper
@MapperConfig(unmappedTargetPolicy = ReportingPolicy.WARN)
public interface MsgAlarmLogMapperStruct {

	MsgAlarmLogMapperStruct INSTANCE = Mappers.getMapper(MsgAlarmLogMapperStruct.class);
	
	Page<MsgAlarmLog> po2Entity4Page(Page<MsgAlarmLogPO> po);
	
	List<MsgAlarmLog> po2Entity4List(List<MsgAlarmLogPO> po);
	
	MsgAlarmLog po2Entity(MsgAlarmLogPO po);

	MsgAlarmLogPO entity2Po(MsgAlarmLog po);
    
}
